package com.zhl.scheduling.model.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

public class Workpiece {
    /**
     * 主键id
     */
    @Id
    @Column(name = "workpiece_id")
    private Integer workpieceId;

    /**
     * 工件名
     */
    @Column(name = "workpiece_name")
    private String workpieceName;

    /**
     * 工件类别
     */
    @Column(name = "workpiece_category_id")
    private String workpieceCategoryId;

    /**
     * 工件图片
     */
    @Column(name = "workpiece_img")
    private String workpieceImg;

    /**
     * 工件价格
     */
    @Column(name = "workpiece_price")
    private BigDecimal workpiecePrice;

    /**
     * 工艺信息;工艺信息流程
     */
    @Column(name = "process_info")
    private String processInfo;

    /**
     * 加工柔性;整数0表示非柔性加工，1表示柔性加工
     */
    @Column(name = "process_flexibility")
    private Integer processFlexibility;

    /**
     * 工序个数
     */
    @Column(name = "process_num")
    private Integer processNum;

    /**
     * 工件状态;整数0表示不可用，1表示可用，-1表示删除
     */
    @Column(name = "workpiece_status")
    private Integer workpieceStatus;

    /**
     * 工件描述
     */
    @Column(name = "workpiece_description")
    private String workpieceDescription;

    /**
     * 更新时间
     */
    @Column(name = "UPDATED_TIME")
    private Date updatedTime;

    /**
     * 创建时间
     */
    @Column(name = "Create_TIME")
    private Date createTime;

    /**
     * 获取主键id
     *
     * @return workpiece_id - 主键id
     */
    public Integer getWorkpieceId() {
        return workpieceId;
    }

    /**
     * 设置主键id
     *
     * @param workpieceId 主键id
     */
    public void setWorkpieceId(Integer workpieceId) {
        this.workpieceId = workpieceId;
    }

    /**
     * 获取工件名
     *
     * @return workpiece_name - 工件名
     */
    public String getWorkpieceName() {
        return workpieceName;
    }

    /**
     * 设置工件名
     *
     * @param workpieceName 工件名
     */
    public void setWorkpieceName(String workpieceName) {
        this.workpieceName = workpieceName;
    }

    /**
     * 获取工件类别
     *
     * @return workpiece_category_id - 工件类别
     */
    public String getWorkpieceCategoryId() {
        return workpieceCategoryId;
    }

    /**
     * 设置工件类别
     *
     * @param workpieceCategoryId 工件类别
     */
    public void setWorkpieceCategoryId(String workpieceCategoryId) {
        this.workpieceCategoryId = workpieceCategoryId;
    }

    /**
     * 获取工件图片
     *
     * @return workpiece_img - 工件图片
     */
    public String getWorkpieceImg() {
        return workpieceImg;
    }

    /**
     * 设置工件图片
     *
     * @param workpieceImg 工件图片
     */
    public void setWorkpieceImg(String workpieceImg) {
        this.workpieceImg = workpieceImg;
    }

    /**
     * 获取工件价格
     *
     * @return workpiece_price - 工件价格
     */
    public BigDecimal getWorkpiecePrice() {
        return workpiecePrice;
    }

    /**
     * 设置工件价格
     *
     * @param workpiecePrice 工件价格
     */
    public void setWorkpiecePrice(BigDecimal workpiecePrice) {
        this.workpiecePrice = workpiecePrice;
    }

    /**
     * 获取工艺信息;工艺信息流程
     *
     * @return process_info - 工艺信息;工艺信息流程
     */
    public String getProcessInfo() {
        return processInfo;
    }

    /**
     * 设置工艺信息;工艺信息流程
     *
     * @param processInfo 工艺信息;工艺信息流程
     */
    public void setProcessInfo(String processInfo) {
        this.processInfo = processInfo;
    }

    /**
     * 获取加工柔性;整数0表示非柔性加工，1表示柔性加工
     *
     * @return process_flexibility - 加工柔性;整数0表示非柔性加工，1表示柔性加工
     */
    public Integer getProcessFlexibility() {
        return processFlexibility;
    }

    /**
     * 设置加工柔性;整数0表示非柔性加工，1表示柔性加工
     *
     * @param processFlexibility 加工柔性;整数0表示非柔性加工，1表示柔性加工
     */
    public void setProcessFlexibility(Integer processFlexibility) {
        this.processFlexibility = processFlexibility;
    }

    /**
     * 获取工序个数
     *
     * @return process_num - 工序个数
     */
    public Integer getProcessNum() {
        return processNum;
    }

    /**
     * 设置工序个数
     *
     * @param processNum 工序个数
     */
    public void setProcessNum(Integer processNum) {
        this.processNum = processNum;
    }

    /**
     * 获取工件状态;整数0表示不可用，1表示可用，-1表示删除
     *
     * @return workpiece_status - 工件状态;整数0表示不可用，1表示可用，-1表示删除
     */
    public Integer getWorkpieceStatus() {
        return workpieceStatus;
    }

    /**
     * 设置工件状态;整数0表示不可用，1表示可用，-1表示删除
     *
     * @param workpieceStatus 工件状态;整数0表示不可用，1表示可用，-1表示删除
     */
    public void setWorkpieceStatus(Integer workpieceStatus) {
        this.workpieceStatus = workpieceStatus;
    }

    /**
     * 获取工件描述
     *
     * @return workpiece_description - 工件描述
     */
    public String getWorkpieceDescription() {
        return workpieceDescription;
    }

    /**
     * 设置工件描述
     *
     * @param workpieceDescription 工件描述
     */
    public void setWorkpieceDescription(String workpieceDescription) {
        this.workpieceDescription = workpieceDescription;
    }

    /**
     * 获取更新时间
     *
     * @return UPDATED_TIME - 更新时间
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * 设置更新时间
     *
     * @param updatedTime 更新时间
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    /**
     * 获取创建时间
     *
     * @return Create_TIME - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}